package cn.mapper;

import cn.dto.Query;
import cn.entity.Cooperation;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CooperationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Cooperation record);

    int insertSelective(Cooperation record);

    Cooperation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cooperation record);

    int updateByPrimaryKey(Cooperation record);

    List<Cooperation> selectCooperationList(Query query);
}